package com.nervenets.general.entity;

import lombok.*;
import lombok.experimental.SuperBuilder;

@EqualsAndHashCode(callSuper = true)
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class RedisCacheableObject extends KeyValue {
    /**
     * 是否为数组
     */
    private boolean arr = false;

    public RedisCacheableObject(String key, Object value, boolean isArray) {
        super(key, value);
        this.arr = isArray;
    }
}
